import colorBack from "./color.js"
let iconSvgColor = colorBack;
let OaConfig = {

    /* app 系统名称 */
    corporateName: '移动报销',
    corporateName_JP: '移动报销',

    /* logo 配置 */
    logo: '',

    /* 全局默认背景肤色 */
    backgroundColor: '#3296fa',
    /* 全局默认svg颜色*/

    /* 常用字体大小 统一管理 */
    Size8: '16' + 'upx',
    Size9: '18' + 'upx',
    Size10: '20' + 'upx',
    Size11: '22' + 'upx',
    Size12: '24' + 'upx',
    Size13: '26' + 'upx',
    Size14: '28' + 'upx',
    Size15: '30' + 'upx',
    Size16: '32' + 'upx',
    Size17: '34' + 'upx',
    Size18: '36' + 'upx',
    Size19: '38' + 'upx',
    Size20: '40' + 'upx',
    Size21: '42' + 'upx',
    Size22: '44' + 'upx',
    Size23: '46' + 'upx',
    Size24: '48' + 'upx',
    Size25: '50' + 'upx',
    Size26: '52' + 'upx',
    Size27: '54' + 'upx',
    Size28: '56' + 'upx',
    Size29: '58' + 'upx',
    Size30: '60' + 'upx',
    SysTime: "",
    /* 工作流映射 */
    WorkflowArr: [],
    isWechat: false, //是否为微信端 首页自动获取写入
	userInfoKey: "getappuserInfo",
    /* 水印 */
    watermark: {
        show: true, //是否显示水印
        text: '东风本田汽车零部件有限公司' //水印字体
    },
    /* 水印字体color */
    appcolor: 'rgba(100, 0, 0, 0.05)',

    /* 下拉框查询所使用必填项 */

    empId:'',//用户信息
    newDate:'',//用户登录时间
    configData: [{
        'tenancyNm': '东风本田汽车零部件有限公司',
        'tenancyId': 'BPM',
        'casLoginList': []
    }],
	userData: {},//用户信息
	cityData: {
		cityInfoList: [],//常用城市
		provinceNmCityList: []
	},
	//主页菜单显示配置
	tenancyIdConfig: [{
		tenancyNm: '东风本田汽车零部件有限公司',
		tenancyId: 'BPM',
		corporateName: '东风本田智慧差旅',
		background: '#3296fa',
		WorkflowArr: [{
				wfid: '92e5a7181413410688547e848ede9856',
				PROCESS_NAME: '出差申请',
				state:'1',
				formPath: '/pages/oa/travelApply/travelApplyForm',
				icon: "data:image/svg+xml,%3Csvg width='25' height='24' viewBox='0 0 25 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233E86F9' fill-rule='nonzero'%3E%3Cpath d='M14.576 22.28a.818.818 0 1 1 0 1.637H3.956A2.455 2.455 0 0 1 1.5 21.46V3.455C1.5 2.1 2.6 1 3.955 1H17.87c1.356 0 2.455 1.1 2.455 2.455a.818.818 0 0 1-1.637 0 .818.818 0 0 0-.818-.818H3.955a.818.818 0 0 0-.818.818v18.006c0 .452.366.819.818.819h10.62zm5.748-7.935v3.75c0 1.092-1.637 1.092-1.637 0v-3.75c0-1.092 1.637-1.092 1.637 0z'/%3E%3Cpath d='M6.41 7.548a.818.818 0 1 1 0-1.637h5.73a.818.818 0 0 1 0 1.637H6.41zM6.41 11.64a.818.818 0 0 1 0-1.637h3.275a.818.818 0 1 1 0 1.637H6.41z' opacity='.7'/%3E%3Cpath d='M15.399 23.062a.818.818 0 0 1-1.637 0l.015-3.238c0-1.356 1.1-2.455 2.455-2.455l3.267.03a.818.818 0 0 1 0 1.636l-3.267-.029a.818.818 0 0 0-.818.818l-.015 3.238z'/%3E%3Cpath d='M15.36 23.6a.819.819 0 1 1-1.133-1.181l4.614-4.425a.818.818 0 1 1 1.132 1.181l-4.613 4.426zm6.215-15.68a.804.804 0 0 0 .085-1.137l-.01-.013a.818.818 0 0 0-1.149-.086L9.488 16.046 9.1 17.372l1.492-.116L21.575 7.92zm1.32-2.21a2.439 2.439 0 0 1-.24 3.44L11.45 18.674a.818.818 0 0 1-.467.193l-2.94.227a.818.818 0 0 1-.848-1.047l.791-2.697a.818.818 0 0 1 .256-.393l11.198-9.52a2.455 2.455 0 0 1 3.445.258l.01.013z'/%3E%3C/g%3E%3Cpath d='M.5 0h24v24H.5z " +iconSvgColor + "'/%3E%3C/g%3E%3C/svg%3E",
			},
			{
				wfid: 'a954cbd9ffb941bb83f991ea5c46b61c',
				PROCESS_NAME: '出差变更',
				state:'1',
				formPath: '/pages/oa/travelApply/travelApplyForm?type=1',
				icon: "data:image/svg+xml,%3Csvg width='24' height='22' viewBox='0 0 24 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233E86F9' fill-rule='evenodd'%3E%3Cg fill-rule='nonzero'%3E%3Cpath d='M9 12a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2h5zm0 1.64H4a.36.36 0 0 0-.353.287L3.64 14v6c0 .174.123.32.287.353L4 20.36h5a.36.36 0 0 0 .353-.287L9.36 20v-6a.36.36 0 0 0-.287-.353L9 13.64z'/%3E%3Cpath d='M7.5 15a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1h3zM6.5 17a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1h2z'/%3E%3C/g%3E%3Cg opacity='.7' fill-rule='nonzero'%3E%3Cpath d='M20 0a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5zm0 1.64h-5a.36.36 0 0 0-.353.287L14.64 2v6c0 .174.123.32.287.353L15 8.36h5a.36.36 0 0 0 .353-.287L20.36 8V2a.36.36 0 0 0-.287-.353L20 1.64z'/%3E%3Cpath d='M18.5 3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1h3zM17.5 5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1h2z'/%3E%3C/g%3E%3Cpath d='M13 20.18a.82.82 0 0 1 .82-.82h.72a5.18 5.18 0 0 0 5.175-4.961l.004-.219v-1h1.64v1a6.82 6.82 0 0 1-6.585 6.816l-.235.004h-.719a.82.82 0 0 1-.82-.82z' fill-rule='nonzero'/%3E%3Cpath d='M20.368 11.141L17.85 13.66a.2.2 0 0 0 .142.341h5.034a.2.2 0 0 0 .142-.341L20.65 11.14a.2.2 0 0 0-.282 0z'/%3E%3Cg%3E%3Cpath d='M11 1.82a.82.82 0 0 1-.82.82h-.72a5.18 5.18 0 0 0-5.175 4.961l-.004.219v1H2.64v-1a6.82 6.82 0 0 1 6.585-6.816L9.461 1h.719a.82.82 0 0 1 .82.82z' fill-rule='nonzero'/%3E%3Cpath d='M3.632 9.859L6.15 7.34A.2.2 0 0 0 6.008 7H.974a.2.2 0 0 0-.142.341L3.35 9.86a.2.2 0 0 0 .282 0z " +iconSvgColor + "'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E",
			},
			{
				wfid: '70102470e31e4e3d87de61c87f38281f',
				PROCESS_NAME: '出差报销',
				state:'1',
				formPath: '/pages/oa/travelReimburse/travelReimburse',
				icon: "data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233E86F9' fill-rule='nonzero'%3E%3Cpath d='M14.644 22.205a.854.854 0 0 1 0 1.708H3.562A2.562 2.562 0 0 1 1 21.351V2.562A2.562 2.562 0 0 1 3.562 0h14.519a2.562 2.562 0 0 1 2.562 2.562.854.854 0 1 1-1.708 0 .854.854 0 0 0-.854-.854H3.562a.854.854 0 0 0-.854.854v18.789c0 .472.382.854.854.854h11.082zM20.643 15.838v2.336h-1.71l.002-2.336c0-1.14 1.708-1.14 1.708 0z'/%3E%3Cpath d='M20.643 4.884V2.55h-1.71l.002 2.335c0 1.14 1.708 1.14 1.708 0zM15.503 23.021a.854.854 0 0 1-1.708 0l.016-3.378a2.562 2.562 0 0 1 2.562-2.562l3.409.03a.854.854 0 0 1 0 1.709l-3.41-.031a.854.854 0 0 0-.853.854l-.016 3.378z'/%3E%3Cpath d='M15.463 23.583a.854.854 0 1 1-1.183-1.233l4.814-4.617a.854.854 0 1 1 1.182 1.233l-4.813 4.617zM7.513 5.347l2.548 2.546 2.526-2.523a.873.873 0 0 1 1.222-.01l.01.01a.87.87 0 0 1 .01 1.22l-.01.011-2.507 2.505h2.261a.87.87 0 0 1 0 1.74h-2.58v1.34h3.519a.87.87 0 0 1 0 1.74h-3.52v2.134a.871.871 0 0 1-.856.87h-.015a.87.87 0 0 1-.87-.856l-.001-.014v-2.133H5.73a.87.87 0 1 1 0-1.741h3.52v-1.34H6.67a.87.87 0 1 1 0-1.74h2.14L6.28 6.578a.87.87 0 0 1 0-1.23v-.001a.873.873 0 0 1 1.233 0z'/%3E%3Cpath d='M18.628 7.289a.674.674 0 0 1 .953.952l-1.927 1.925 1.927 1.925.008.008a.673.673 0 0 1-.961.944l-2.383-2.38-.009-.01a.671.671 0 0 1-.188-.487.672.672 0 0 1 .197-.497l2.383-2.38z' fill-opacity='.7'/%3E%3Cpath d='M21.798 7.289a.674.674 0 0 1 .953.952l-1.927 1.925 1.927 1.925.008.008a.673.673 0 0 1-.961.944l-2.383-2.38-.009-.01a.671.671 0 0 1-.188-.487.672.672 0 0 1 .197-.497l2.383-2.38z' fill-opacity='.7'/%3E%3C/g%3E%3Cpath d='M0 0h24v24H0z " +iconSvgColor + "' fill-rule='nonzero'/%3E%3C/g%3E%3C/svg%3E"
			},
			{
				wfid: '',
				PROCESS_NAME: '机票管理',
				state:'1',
				formPath: '机票管理',
				icon: "data:image/svg+xml,%3Csvg width='26' height='25' viewBox='0 0 26 25' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M.775.38h24v24h-24z'/%3E%3Cpath d='M18.75 5.344a3.09 3.09 0 0 1 2.52.02l.182.09.207.121 1.278.81c.585.372 1.045.927 1.314 1.59.653 1.607.055 3.462-1.38 4.336l-.157.09-.167.081-3.639 1.65-.92 4.522a3.488 3.488 0 0 1-.803 1.618l-.158.168-.17.159-.167.134-1.018.762c-.622.465-1.38.679-2.14.602-1.612-.162-2.84-1.575-2.876-3.289l.001-.184.012-.189.069-.771-1.19.534a3.085 3.085 0 0 1-2.41.051l-.196-.084-.192-.098-.18-.11-4.115-2.69a3.21 3.21 0 0 1-1.257-1.612c-.55-1.541.081-3.26 1.465-4.027l.157-.081.165-.072.897-.358a3.087 3.087 0 0 1 1.64-.18l.215.04.22.06 2.495.786L18.75 5.344zm1.741 1.757a1.36 1.36 0 0 0-.903-.037l-.146.055L8.55 11.856l-3.075-.969-.15-.04a1.358 1.358 0 0 0-.645.013l-.156.052-.868.346-.109.047c-.596.288-.883 1.02-.65 1.672.082.228.22.427.4.575l.114.084 4.085 2.671.122.074c.336.186.728.221 1.087.103l.133-.052 3.997-1.792-.356 3.946-.008.126c-.021.755.518 1.403 1.234 1.475.279.028.558-.035.8-.18l.117-.078.99-.74.113-.091a1.52 1.52 0 0 0 .452-.707l.036-.14 1.118-5.49 4.473-2.03.113-.054c.67-.36.963-1.212.665-1.945a1.504 1.504 0 0 0-.455-.613l-.124-.088-1.25-.793-.125-.073-.137-.064zM7.951 2.494c.378-.13.784-.124 1.156.012l.157.066.2.113 2.65 1.723c.335.218.594.545.738.931.321.861.013 1.83-.749 2.34l-.13.08-.145.069-1.193.496c-.546.227-1.157.16-1.68-.2l-.14-.106-.133-.127L6.55 5.627a1.786 1.786 0 0 1 .373-2.742l.136-.076.15-.061.742-.254zM8.51 4.32l-.477.16 1.894 2.015.044.043 1.144-.474.047-.022-2.6-1.693-.052-.03z' fill='%233E86F9' fill-rule='nonzero'/%3E%3Cpath d='M17.652 7.538c1.505 1.003 2.45 2.624 2.835 4.862' stroke='%233E86F9' stroke-width='1.64' opacity='.7' fill='" +
					iconSvgColor + "' fill-rule='nonzero'/%3E%3C/g%3E%3C/svg%3E",
			}
		], //显示菜单
		isnoticeBar: true, //显示广告
		ismytask: true, //显示待办
		isexternal: true, //是否显示订票
	}]
}

export default OaConfig;
